home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
mc51bugs
/
q32018
< prev
next >
Wrap
Text File
|
1988-07-20
|
1KB
|
56 lines
Q32018 Internal Compiler Error: code.c 1.46, Line 456
C Compiler
5.10
MS-DOS
Summary:
The program below will cause the following error when compiled
under compact and large memory models with loop and alias optimization
(/Oal):
test.c
test.c(25) : fatal error C1001: Internal Compiler Error
(compiler file '@(#)code.c:1.46', line 456)
Contact Microsoft Technical Support
The following is an example of a command line that will produce the
internal compiler error:
cl -c -AL -Oal test.c
More Information:
The program is as follows:
#include <stdio.h>
typedef struct BUFFER{
struct BUFFER *next;
int dummy;
} BUFFER
extern BUFFER *curbp, *bheadp;
BUFFER *foo_bar()
{
BUFFER *bufptr;
bufptr = curbp -> next;
while(bufptr == NULL || bufptr -> dummy & 0xff)
{
if (bufptr == NULL)
bufptr = bheadp;
else
bufptr = bufptr -> next;
if (burptr == curbp)
bufptr = NULL;
}
return(bufptr);
}
Microsoft has confirmed this to be a problem in Version 5.10 of the
C compiler. Microsoft is researching this problem and will post new
information as it becomes available.
Keywords: buglist5.10 qfbv
Updated 88/07/21 03:19